/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package testdockerdb.carcontroller.models;

/**
 *
 * @author wuhao
 * 用于输出的车辆位置
 */
public class CarPos {

        private Coordinate location;
        private String stat;
        private double rate;

        public CarPos() {
                
        }

        /**
         * @return the location
         */
        public Coordinate getLocation() {
                return location;
        }

        /**
         * @param location the location to set
         */
        public void setLocation(Coordinate location) {
                this.location = location;
        }

        /**
         * @return the stat
         */
        public String getStat() {
                return stat;
        }

        /**
         * @param stat the stat to set
         */
        public void setStat(String stat) {
                this.stat = stat;
        }

        /**
         * @return the rate
         */
        public double getRate() {
                return rate;
        }

        /**
         * @param rate the rate to set
         */
        public void setRate(double rate) {
                this.rate = rate;
        }

}
